package com.chb.flyweight;

/**
 * @author chihb
 * @create-time 2024/10/24 15:03
 * @description
 */
public class WhitePiece extends Piece{
    public WhitePiece()
    {
        this.color="白色";
    }

    @Override
    public void draw(int x, int y) {
        System.out.println(color+"棋子坐标："+x+","+y);
    }
}
